﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.InventoryDomain
{
   public class InventoryTransaction
    {
        #region Properties
        public Guid ID { get; set; }
        public DateTime DateAndTime { get; set; }
        public string Narration { get; set; }
        public string Notes { get; set; } 
        #endregion

        #region ForeignKeyProperties
        public int InventoryTransactionTypeID { get; set; } 
        #endregion

        #region NavigationalProperties
       [ForeignKey("InventoryTransactionTypeID")]
        public virtual InventoryTransactionType TransactionType { get; set; }
        public virtual ICollection<InventoryEntry> Entries { get; set; } 
        #endregion
    }
}
